package com.weipai.education.dao;

import com.weipai.education.model.ProductCate;

import java.util.List;
import java.util.Map;

/**
 * @Author: 曹朋飞
 * @Date: 2018/12/11 11:21
 */
public interface ProductCateDao {
    List<Map<String,Object>> list(Integer start, Integer size);

    Integer listAmount();

    int update(ProductCate productCate);

    int insert(ProductCate productCate);

    ProductCate selectByPrimaryKey(String id);

    int batchDeleteById(String[] id);

    ProductCate selectByProductId(Integer productId);
}
